package org.zjj.dao.impl;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;
import org.zjj.dao.OldDao;

@Repository("oldDao")
public class OldDaoImpl implements OldDao {
    @Value("${name}")
    String name;
    @Value("${sex}")
    String sex;

    @Override
    public void showOldDetail() {
        System.out.println(name+"---"+sex);
    }
}
